package com.william.yun.yunliwuli.api.rest;

import com.alibaba.fastjson.JSONObject;
import com.william.yun.yunliwuli.api.response.senceUsing.SenceUsingResponse;
import com.william.yun.yunliwuli.service.impl.BaseServiceImpl;

public class SenceUsingApi extends BaseApi {

    /**
     * 获取场景
     * @param token
     * @return
     */
    public SenceUsingResponse senceUsing(String token){
        JSONObject body = new BaseServiceImpl().senceUsing(token);
        return JSONObject.toJavaObject(body, SenceUsingResponse.class);
    }
}
